package com.itheima.二维数组;


/*
    现有一整数型数组,遍历求奇数索引值对应元素值
 */
public class Work04 {
    public static void main(String[] args) {
        int[] arr = {12, 23, 34, 45, 56, 67};
        for (int i = 0; i < arr.length; i++) {
            if (arr[i] % 2 == 0) {
                System.out.println(arr[i]);
            }
        }
    }
}
